<?php
function createEvent($data){
	$c = connect();
	$r = mysql_query("INSERT INTO events (name) VALUES (".$data['name'].")");
	return true;
}
?>
